package com.kaili.basic.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.entity.BaseOil;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * BaseOilMapper 接口
 * </p>
 *
 * @author fzj
 * @since 2018-06-24
 */
@Mapper
public interface BaseOilMapper extends BaseMapper<BaseOil> {

    //新增加油记录
    int addBaseOil(BaseOil baseOil);

    //修改加油记录
    int updateBaseOil(BaseOil baseOil);

    //删除加油记录
    int deleteBaseOil(BaseOil baseOil);

    //根据查询条件分页查询加油记录
    List<BaseOil> getBaseOilByKeywords(Pagination page, BaseOil baseOil);

}
